/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lostreseditores.logica;

import com.lostreseditores.modelo.Examenpreguntas;
import com.lostreseditores.persistencia.ExamenpreguntasFacadeLocal;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;

/**
 *
 * @author DILOVE
 */
@Stateless
public class ExamenPreguntaLogica implements ExamenPreguntaLogicaLocal {
    @EJB
    private ExamenpreguntasFacadeLocal examenpreguntasDAO;
    @Override
    public List<Examenpreguntas> consultarOrderPreguntas(int codE, int sesion) throws Exception {
        return examenpreguntasDAO.findAllOrder(codE, sesion);
    }

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
}
